/**
 * The Community Project
 * Copyright Team1 Productions
 * 
 * Joshua Amick
 * Stephen Cunningham
 * Thema Davis
 * Tomika Dawson
 * Lucie DeCristofaro
 * 
 * All Rights Reserved.
 */

package com.constants;

public enum UserPermissions {
	PUBLIC( "PUBLIC", "Public", "PUB" ),
	ADMIN( "ADMIN", "Admin", "ADM" );
	
	private String code;
	private String descr;
	private String abbrDescr;
	
	private   UserPermissions(String code,String descr,String abbrDescr) {
		this.code=code;
		this.descr = descr;
		this.abbrDescr = abbrDescr;
	}
	
	public String getKey() {
		return this.name();
	}

	public String getCode() {
		return code;
	}

	public String getDescr() {
		return descr;
	}

	public String getAbbrDescr() {
		return abbrDescr;
	}

	public void setAbbrDescr(String abbrDescr) {
		this.abbrDescr = abbrDescr;
	}
}
